package com.wasion.gydpe.model;

/**
 * 
 * @ClassName: Terminal
 * @Description: 终端POJO定义
 * @author 高意
 * @date Sep 27, 2012 1:48:15 PM
 * 
 */
public class Terminal {

	private long terminalId; // 终端id
	private String terminalAddr; // 设备地址
	private int mode; // 通信模式
	private int heartBeatPeriod; // 心跳周期
	private int timeOut; // 超时时间
	private String ip; // 主站ip
	private String port; // 主站端口
	private String apnUsername; // apn 用户名
	private String apnPwd; // apn 密码
	private String location; // 地理位置
	private String assetNo; // 资产编号
	private String wirelessAddr; // 无线模块地址
	private int isUsed; // 是否挂载
	private int type; // 类型

	private long lineId; // 线路id
	private String lineName; // 线路名称
	private long stationId; // 供电所id
	private String stationName; // 供电所名称
	private long bureauId; // 供电局id
	private String bureauName; // 供电局名称

	public long getTerminalId() {
		return terminalId;
	}

	public void setTerminalId(long terminalId) {
		this.terminalId = terminalId;
	}

	public int getMode() {
		return mode;
	}

	public void setMode(int mode) {
		this.mode = mode;
	}

	public int getHeartBeatPeriod() {
		return heartBeatPeriod;
	}

	public void setHeartBeatPeriod(int heartBeatPeriod) {
		this.heartBeatPeriod = heartBeatPeriod;
	}

	public int getTimeOut() {
		return timeOut;
	}

	public void setTimeOut(int timeOut) {
		this.timeOut = timeOut;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getPort() {
		return port;
	}

	public void setPort(String port) {
		this.port = port;
	}

	public String getApnUsername() {
		return apnUsername;
	}

	public void setApnUsername(String apnUsername) {
		this.apnUsername = apnUsername;
	}

	public String getApnPwd() {
		return apnPwd;
	}

	public void setApnPwd(String apnPwd) {
		this.apnPwd = apnPwd;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getAssetNo() {
		return assetNo;
	}

	public void setAssetNo(String assetNo) {
		this.assetNo = assetNo;
	}

	public String getWirelessAddr() {
		return wirelessAddr;
	}

	public void setWirelessAddr(String wirelessAddr) {
		this.wirelessAddr = wirelessAddr;
	}

	public int getIsUsed() {
		return isUsed;
	}

	public void setIsUsed(int isUsed) {
		this.isUsed = isUsed;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public String getTerminalAddr() {
		return terminalAddr;
	}

	public void setTerminalAddr(String terminalAddr) {
		this.terminalAddr = terminalAddr;
	}

	public long getLineId() {
		return lineId;
	}

	public void setLineId(long lineId) {
		this.lineId = lineId;
	}

	public String getLineName() {
		return lineName;
	}

	public void setLineName(String lineName) {
		this.lineName = lineName;
	}

	public long getStationId() {
		return stationId;
	}

	public void setStationId(long stationId) {
		this.stationId = stationId;
	}

	public String getStationName() {
		return stationName;
	}

	public void setStationName(String stationName) {
		this.stationName = stationName;
	}

	public long getBureauId() {
		return bureauId;
	}

	public void setBureauId(long bureauId) {
		this.bureauId = bureauId;
	}

	public String getBureauName() {
		return bureauName;
	}

	public void setBureauName(String bureauName) {
		this.bureauName = bureauName;
	}

}
